﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using System.Collections.Specialized;

using System.Text;
using System.Data.Common;
using System.Data.SqlClient;

using System.Text.RegularExpressions;//请先添加引用

/// <summary>
/// BasePage 的摘要说明 // 后台页面的基类，首先检测登陆
/// </summary>
public class MembersClass : System.Web.UI.Page
{
    public MembersClass()
    {
        //
        // TODO: 在此处添加构造函数逻辑
        //
    }


    protected override void OnInit(EventArgs e)
    {

        if (Session["MemberLogin_model"] == null)
        {
            Response.Redirect("~/MembersHome/login.aspx", true);
        }

    }


}
